package com.sayimo.maker.commons;


/**
 * @Copyright (c) 2016 广东省尚一互联网有限公司
 * @Project: maker-commons
 * @ClassName: Constant.java
 * @Description: 
 * @Author:	tanxin
 * @Date:2017年1月3日,上午10:35:28
 * @Version 1.0.0
 */
public final class Constant {
	
	/**
	 * @Fields: DATASOURCE_WECHAT
	   @Description: 微信库
	 */
	public static final String DATASOURCE_WECHAT = "school_dataSource";
	
	/**
	 * @Fields: DATASOURCE_UNION
	   @Description: 商家联盟客户端库
	 */
	public static final String DATASOURCE_UNION = "union_dataSource";
	/**
	 * @Fields: IS_SCHOOL
	   @Description: 是否校内地址
	 */
	public static final String IS_SCHOOL = "-1";
	
	/**
	 * @Fields: PROVINCECODE
	   @Description: 校内的省份编码
	 */
	public static final String PROVINCECODE = "44";
	
	/**
	 * @Fields: CITYCODE
	   @Description: 校内的城市编码
	 */
	public static final String CITYCODE = "4419";
	
	/**
	 * @Fields: REGIONCODE
	   @Description: 校内的区域编码
	 */
	public static final String REGIONCODE = "4419001";

	/**
	 * @Fields: ORDERS_MODEL_SINGLE
	 * @Description: 下单模式为单个商品
	 */
	public final static String ORDERS_MODEL_SINGLE = "single";

	/**
	 * @Fields: ORDERS_MODEL_MORE
	 * @Description: 下单模式为多个商品
	 */
	public final static String ORDERS_MODEL_MORE = "more";

	/**
	 * @Fields: ORDERS_GOODS_TYPE_HISTORY
	 * @Description: 历史商品
	 */
	public final static String ORDERS_GOODS_TYPE_HISTORY = "HISTORY";

	/**
	 * @Fields: ORDERS_GOODS_TYPE_NOW
	 * @Description: 新商品
	 */
	public final static String ORDERS_GOODS_TYPE_NOW = "NOW";

	/**
	 * @Fields: ORDER_QUERY_PAY
	 * @Description: 支付详情
	 */
	public final static String ORDERS_QUERY_PAY = "ordersPay";

	/**
	 * @Fields: ORDERS_QUERY_DETAILS
	 * @Description: 订单详情
	 */
	public final static String ORDERS_QUERY_DETAILS = "ordersDateils";

	/**
	 * @Fields: WEIXIN_UPLOAD_TYPE_SYSTEM
	 * @Description: 系统推广图
	 */
	public final static String WEIXIN_UPLOAD_TYPE_SYSTEM_AD = "SYSTEM_AD";

	/**
	 * @Fields: WEIXIN_UPLOAD_TYPE_CUSTOMER
	 * @Description: 用户推广图
	 */
	public final static String WEIXIN_UPLOAD_TYPE_CUSTOMER_AD = "CUSTOMER_AD";
	
	/**
	  * @Fields: SYSCONFIG_FREEMINCONSUMPTION
	  * @Description: 免运费最低消费金额
	*/
	public final static String SYSCONFIG_FREEMINCONSUMPTION = "freeMinConsumption";

	/**
	 * 返回数据异常 0
	 */
	public final static String STATUS_ERROR = "0";

	/**
	 * 返回数据正确 1
	 */
	public final static String STATUS_SUCCESS = "1";

	/**
	 * status
	 */
	public final static String STATUS = "status";

	/**
	 * errorCode
	 */
	public final static String ERROR_CODE = "errorCode";

	/**
	 * data
	 */
	public final static String DATA = "data";

	/**
	 * success
	 */
	public final static String SUCCESS = "success";

	/**
	 * error
	 */
	public final static String ERROR = "error";

	/**
	 * msg
	 */
	public final static String MSG = "msg";
	
	public final static String REGEX_NUM_LATTER = "([a-zA-Z]+)|([\\d]+)|([\u4e00-\u9fa5]+)";
	
	/**
	 * 系统错误 100001
	 */
	public final static String SYSTEM_ERROR = "100001";

	/**
	 * 查询错误 100002
	 */
	public final static String SELECT_ERROR = "100002";

	/**
	 * 没有数据 100003
	 */
	public final static String SYSTEM_NO_DATA = "100003";

	/**
	 * 请求路径不存在 100004
	 */
	public final static String SYSTEM_URL_NOT_EXISTS = "100004";

	/**
	 * 未按指定请求方式请求服务器（按指定的get或post请求） 100005
	 */
	public final static String SYSTEM_REQUEST_METHOD_ERROR = "100005";

	/**
	 * 参数不正确 100006
	 */
	public final static String SYSTEM_REQUEST_PARAM_ERROR = "100006";
	
	/**
	 * 系统正忙,请稍后重试
	 */
	public final static String SYSTEM_IS_BUSY = "100008";
	
	/**
	 * 验证码为空，点击重新发送
	 */
	public final static String VERIFY_CODE_NOT_EXISTS = "200001";

	/**
	 * 验证码已过期
	 */
	public final static String VERIFY_CODE_BEYOND_LOSETIME = "200002";

	/**
	 * 验证码存在，且没有过期
	 */
	public final static String VERIFY_CODE_AVIABLE = "200003";

	/**
	 * 验证码不正确
	 */
	public final static String VERIFY_CODE_ERROR = "200004";
	/**
	 * 学生信息不存在
	 */
	public final static String STU_NONE_ERROR = "200005";
	/**
	 * 学生信息已绑定
	 */
	public final static String STU_BINDED_ERROR = "200006";
	/**
	 * 重复投标
	 */
	public final static String REWARD_REPEAT_SUBMIT = "200007";
	
	/**
	 * 该会员已绑定了银行卡
	 */
	public final static String CUSTOMER_ALREADY_BIND_BANK_CARD = "200008";
	
	/**
	 * 充值金额格式不正确
	 */
	public final static String CUSTOMER_RECHARGE_SILVER_SCORE_PATTERN_ERROR = "200009";
	
	/**
	 * @Fields: SMS_BUS_CODE_001
	 * @Description: 设置提现密码
	 */
	public final static String SMS_BUS_CODE_001 = "001";

	/**
	 * @Fields: SMS_BUS_CODE_002
	 * @Description: 绑定手机号
	 */
	public final static String SMS_BUS_CODE_002 = "002";

	/**
	 * @Fields: SMS_BUS_CODE_002
	 * @Description: 解绑手机号
	 */
	public final static String SMS_BUS_CODE_003 = "003";

	/**
	 * MEMBERS_VERIFY_ERROR 用户没有关注该公众号
	 */
	public final static String MEMBER_NOT_SUBSCRIBE = "300001";

	/**
	 * RECEIVE_ADDRESS_NOT_EXISTS 收货地址不存在
	 */
	public final static String RECEIVE_ADDRESS_NOT_EXISTS = "300002";

	/**
	 * WALLET_OLD_PWD_ERROR 钱包原始密码不正确
	 */
	public final static String WALLET_OLD_PWD_ERROR = "300003";

	/**
	 * WALLET_PASSWORD_IS_NULL 支付密码为空
	 */
	public final static String WALLET_PASSWORD_IS_NULL = "300004";

	/**
	 * WALLET_PASSWORD_IS_NOT_INSTALLED 用户还没有设置提现密码
	 */
	public final static String WALLET_PASSWORD_IS_NOT_INSTALLED = "300005";

	/**
	 * WALLET_PASSWORD_ERROR 支付密码错误
	 */
	public final static String WALLET_PASSWORD_ERROR = "300006";

	/**
	 * GOODS_COMMENT_ADD_FAIL 商品评论添加失败
	 */
	public final static String GOODS_COMMENT_ADD_FAIL = "400002";

	/**
	 * GOODS_STOCK_LACK 库存不足
	 */
	public final static String GOODS_STOCK_LACK = "400001";
	
	/**
	 * TSH_GOODS_OFF_THE_SHELVES 特奢汇商品已下架
	 */
	public final static String TSH_GOODS_OFF_THE_SHELVES = "400003";
	
	

	/**
	 * @Fields: ORDERS_DOWN_FAIL
	 * @Description: 下单失败
	 */
	public final static String ORDERS_DOWN_FAIL = "500001";

	/**
	 * @Fields: ORDERS_DOWN_FAIL
	 * @Description: 下单成功
	 */
	public final static String ORDERS_DOWN_SUCCESS = "500002";

	/**
	 * @Fields: ORDERS_RECEVING_ADDRESS_ISNULL
	 * @Description: 订单收货地址为空
	 */
	public final static String ORDERS_RECEVING_ADDRESS_ISNULL = "500003";
	

	/**
	 * @Fields: AVAILABLE_MONEY_NOT_ENOUGH
	 * @Description: 金币不足
	 */
	public final static String AVAILABLE_MONEY_NOT_ENOUGH = "500004";

	/**
	 * @Fields: PAY_ORDER_FAIL
	 * @Description: 订单支付失败
	 */
	public final static String PAY_ORDER_FAIL = "500005";

	/**
	 * @Fields: ORDERS_NOT_EXISTS
	 * @Description: 订单不存在
	 */
	public final static String ORDERS_NOT_EXISTS = "500006";

	/**
	 * @Fields: ORDERS_RETURN_FAIL
	 * @Description: 退换货失败
	 */
	public final static String ORDERS_RETURN_FAIL = "500007";
	
	/**
	 * @Fields: ORDERS_TOTAL_MONEY_IS_FALSIFIED
	 * @Description: 订单金额被篡改
	 */
	public final static String ORDERS_TOTAL_MONEY_IS_FALSIFIED = "500008";
	
	/**
	 * @Fields: ORDERS_STATUS_ERROR_FOR_RETURN
	 * @Description: 退换货时订单状态不正确
	 */
	public final static String ORDERS_RETURN_STATUS_ERROR_FOR_RETURN = "500010";
	
	/**
	 * @Fields: ORDERS_NOT_SUPPORT_EMSLIST
	 * @Description: 系统暂不支持该物流公司 
	 */
	public final static String ORDERS_RETURN_NOT_SUPPORT_EMSLIST = "500011";
	/**
	 * @Fields: TEAM_PERSONNEL_FULL
	 * @Description: 人员已满
	 */
	public final static String TEAM_PERSONNEL_FULL = "600001";
	
	/**
	 * @Fields: ORDERS_STATUS_HAS_NO_LOGISTICS
	 * @Description: 该状态下没有物流信息（已取消、已支付、待发货）
	 */
	public final static String ORDERS_STATUS_HAS_NO_LOGISTICS = "500009";
	
	/**
	 * @Fields: TEAM_FAULT_CAPTAIN
	 * @Description: 不是队长
	 */
	public final static String TEAM_FAULT_CAPTAIN = "600002";
	/**
	 * @Fields: TEAM_ALREADY_TEAM
	 * @Description: 已在团队
	 */
	public final static String TEAM_ALREADY_TEAM = "600003";
	
	
	/**
	 * @Fields: TEAM_CANNOT_UNGROUP
	 * @Description: 不可解散
	 */
	public final static String TEAM_CANNOT_UNGROUP= "600004";
	
	/**
	 * @Fields: TEAM_CANNOT_EXIT
	 * @Description: 不可退出
	 */
	public final static String TEAM_CANNOT_EXIT= "600005";
	/**
	 * @Fields: CANNOT_BUY_AGAIN
	 * @Description: 不可再次购买
	 */
	public final static String CANNOT_BUY_AGAIN = "50000X";
	/**
	 * @Fields: TEAM_NAME_EXIST
	 * @Description: 团队名字已存在
	 */
	public final static String TEAM_NAME_EXIST = "600004";
	
	/**
	 * @Fields: TEAM_SEND_REQUEST
	 * @Description: 已向该团队发送请求，请耐心等待...
	 */
	public final static String TEAM_SEND_REQUEST = "600005";

	/**
	 * @Fields: ADDRESS_CANT_SHIP
	 * @Description: 此地区暂时不支持发货
	 */
	public final static String ADDRESS_CANT_SHIP = "300007";
	
	/**
	 * @Fields: ORDERS_LIST_IS_PAID
	 * @Description: 订单已支付
	 */
	public final static String ORDERS_LIST_IS_PAID = "300008";
	
	/**
	 * @Fields: ACTIVITY_GOODS_MUST_SCHOOL_ADDRESS
	 * @Description: 活动商品只能选择校内地址
	 */
	public final static String ACTIVITY_GOODS_MUST_SCHOOL_ADDRESS = "300009";
	/**
	 * @param PRE_ORDERS_COMFIRM_SUCCESSED
	 * @type String
	 * @author gongyijun
	 * @date 2016年6月22日
	 */
	public final static String PRE_ORDERS_COMFIRM_SUCCESSED= "700001";
	/**
	 * @param PRE_ORDERS_COMFIRM_FAILED
	 * @type String
	 * @author gongyijun
	 * @date 2016年6月22日
	 */
	public final static String PRE_ORDERS_COMFIRM_FAILED = "700002";
	/**
	 * @param PRE_ORDERS_ADDRESS_SUCCESSED
	 * @type String
	 * @author gongyijun
	 * @date 2016年6月22日
	 */
	public final static String PRE_ORDERS_ADDRESS_SUCCESSED = "700003";
	/**
	 * @param PROVIDER_CREDITCODE_EXIT_ERROR
	 * @type String
	 * @Description: 营业执照代码已存在
	 * @author wangyang
	 * @date 2016年7月04日
	 */
	public final static String ENTERPRISEINFO_CREDITCODE_EXIT_ERROR = "800001";
	/**
	 * @param PROVIDER_LOGINPWD_EXIT_ERROR
	 * @type String
	 * @Description: 供应商登录账号或者密码不正确
	 * @author tanxin
	 * @date 2016年7月12日
	 */
	public final static String PROVIDER_LOGINPWD_EXIT_ERROR = "800002";
	
	/**
	 * @param PROVIDER_MOBILEPHONE_EXIT_ERROR
	 * @type String
	 * @Description: 手机号码已存在
	 * @author
	 * @date 2016年7月12日
	 */
	public final static String PROVIDER_MOBILEPHONE_EXIT_ERROR = "800003";
	/**
	 * @param PROVIDER_PASSWORD_EXIT_ERROR
	 * @type String
	 * @Description: 密码不一致
	 * @author
	 * @date 2016年7月12日
	 */
	public final static String PROVIDER_PASSWORD_EXIT_ERROR = "800004";
	
	/**
	 * @param PROVIDER_PROVIDERNAME_EXIT_ERROR
	 * @type String
	 * @Description: 企业名称已存在
	 * @author
	 * @date 2016年7月12日
	 */
	public final static String PROVIDER_PROVIDERNAME_EXIT_ERROR = "800005";
	
	/**
	 * @param PROVIDER_NO_EXIT
	 * @type String
	 * @Description: 企业手机号不存在
	 * @author
	 * @date 2016年7月12日
	 */
	public final static String PROVIDER_NO_EXIT = "800006";
	/**
	 * @param RESUME_DEVELIY_REPEAT
	 * @type String
	 * @Description: 简历已投递
	 * @author
	 * @date 2016年7月12日
	 */
	public final static String RESUME_DEVELIY_REPEAT = "900001";
	
	/**
	 * 已经投过稿了
	 */
	public final static String DRAFT_ALREADY_DELIVERY = "900002";
	
	/**
	 * 用户已经投过该票
	 */
	public final static String CUSTOMER_ALREADY_VOTE_SUBMISSION = "900003";
	
	/**
	 * 用户已经投过该票
	 */
	public final static String CUSTOMER_TODAY_ALREADY_VOTE_SUBMISSION = "900004";

	
	/**
	 * 砍价活动，砍价次数已达上限
	 */
	public final static String SYSTEM_ERROR_CUTTIMES_MAX = "800007";
	/**
	 * 砍价活动，砍价次数已达上限
	 */
	public final static String SYSTEM_ERROR_CUTTIMES_MAX_MSG = "砍价次数已达上限";
	/**
	 * 砍价活动，会员已参加过此次砍价
	 */
	public final static String SYSTEM_ERROR_ISCUTJOIN = "800008";
	/**
	 * 砍价活动，会员已参加过此次砍价
	 */
	public final static String SYSTEM_ERROR_ISCUTJOIN_MSG = "会员已参加过此次砍价";
	/**
	 * 砍价活动，会员已购买，不能继续砍价
	 */
	public final static String SYSTEM_ERROR_ISBUYCUT = "800009";
	/**
	 * 砍价活动，会员已购买，不能继续砍价
	 */
	public final static String SYSTEM_ERROR_ISBUYCUT_MSG = "会员已购买，不能继续砍价";
	
	 /**
	  * 顺丰所需订单状态
	  */
	/**
	 * errorMsg
	 */
	public final static String SFMSG = "errorMsg";
	/**
	 * 是否成功
	 */
	public final static String SF_ISSUCCEED = "isSucceed";
	
	/**
	 * 顺丰求情成功编码
	 */
	public final static String SF_SUCCEED_CODE = "200";
	/**
	 * 顺丰请求成功信息
	 */
	public final static String SF_SUCCEED_MSG = "请求成功";
	
	/**
	 * 顺丰签名验证失败
	 */
	public final static String SF_SIGN_ERROR = "200005";
	/**
	 * 顺丰签名验证信息
	 */
	public final static String SF_SIGN_MSG = "签名验证失败";
	/**
	 * 顺丰签名验证失败
	 */
	public final static String SF_BILL_REAPT_ERROR = "200006";
	/**
	 * 顺丰签名验证信息
	 */
	public final static String SF_BILL_REAPT_MSG = "订单号重复";
	/**
	 * 顺丰更新时，订单不存在
	 */
	public final static String SF_NO_BILL = "200007";
	/**
	 * 顺丰更新时，订单不存在信息
	 */
	public final static String SF_NO_BILL_MSG = "订单不存在,更新失败";
	/**
	 * 顺丰请求,系统错误
	 */
	public final static String SF_SYSTEM_ERROR = "200008";
	/**
	 * 顺丰请求,系统错误信息
	 */
	public final static String SF_SYSTEM_ERROR_MSG = "系统原因,稍后重试";
	
	/**
	  * @Fields: CUSTOMER_NOT_STUDENT
	  * @Description: 会员不是学生
	*/
	public final static String CUSTOMER_NOT_STUDENT = "110001";
	
	/**
	  * @Fields: 邀请码不存在
	  * @Description: 邀请码不存在
	*/
	public final static String INVITECODE_NOT_EXIST = "110003";
	/**
	  * @Fields: CUSTOMER_HAS_NO_SHOP
	  * @Description: 会员无店铺信息
	*/
	public final static String CUSTOMER_HAS_NO_SHOP = "110002";
	
	/**
	  * @Fields:PEOPLE_CARD_NOT_EXIT
	  * @Description: 没有绑定身份证
	*/
	public final static String PEOPLE_CARD_NOT_EXIT = "110004";
	/**
	 * @Fields: SMS_BUS_CODE_004
	 * @Description: 用户忘记密码
	 */
	public final static String SMS_BUS_CODE_004 = "004";
	/**
	 * @Fields: SMS_BUS_CODE_005
	 * @Description: 钱包忘记密码
	 */
	public final static String SMS_BUS_CODE_005 = "005";
	/**
	 * @param PROVIDER_ACCOUNT_EXIT_ERROR
	 * @type String
	 * @Description: 账号不存在
	 * @author tanxin
	 */
	public final static String PROVIDER_ACCOUNT_NOT_EXIST = "800008";
	/**
	 * @param PROVIDER_PASSWORD_NOT_EQUAL
	 * @type String
	 * @Description: 密码和确认密码不同
	 * @author
	 * @date 2016年7月12日
	 */
	public final static String PROVIDER_PASSWORD_NOT_EQUAL = "800009";
	/**
	 * @fieldName: WALLET_NOT_EXISTS
	 * @filldType: String
	 * @description: 钱包信息不存在
	 */
	public final static String WALLET_NOT_EXISTS = "300007";
	
	/**
	 * @fieldName: WALLET_PAY_PASSWORD_NOT_MATCH
	 * @filldType: String
	 * @description: 两次输入的密码不一致
	 */
	public final static String WALLET_PAY_PASSWORD_NOT_MATCH = "300008";
	/**
	 * @param PROVIDER_ACCOUNT_EXIT_ERROR
	 * @type String
	 * @Description: 账号已存在
	 * @author tanxin
	 */
	public final static String PROVIDER_ACCOUNT_EXIT_ERROR = "800007";
	/**
	 * @param CUSTOMER_TRANSFER_FAIL
	 * @type String
	 * @Description: 转账失败
	 */
	public final static String CUSTOMER_TRANSFER_FAIL = "500011";
	/**
	 * @param WALLET_MONEY_NOT_ENOUGH
	 * @type String
	 * @Description: 钱包余额不足
	 */
	public final static String WALLET_MONEY_NOT_ENOUGH = "500012";
	/**
	 * @param TOKEN_IS_NULL
	 * @type String
	 * @Description: token为空
	 * @author 
	 */
	public final static String TOKEN_IS_NULL = "800010";
	/**
	 * @param TOKEN_FORMAT_WRONG
	 * @type String
	 * @Description: token格式错误
	 * @author
	 */
	public final static String TOKEN_FORMAT_WRONG = "800011";
	/**
	 * @param TOKEN_IS_INVALID
	 * @type String
	 * @Description: token无效
	 * @author
	 */
	public final static String TOKEN_IS_INVALID = "800012";
	/**
	 * @param PROVIDER_PASSWORD_NOT_EQUAL
	 * @type String
	 * @Description: token被篡改
	 * @author
	 */
	public final static String TOKEN_IS_TAMPERED = "800013";
	
}
